Python locals example